<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns="http://www.w3.org/1999/xhtml">
  
  <xsl:import href="TransformTests_import.xsl"/>
	
	<xsl:template match="/">
		<html>
			<head>
				<title>Transform Properties Test</title>
			</head>
			<body>
				<table>
					<thead>
						<tr>
							<th colspan="2">/*</th>
						</tr>
					</thead>
					<xsl:apply-templates select="*"/>
					<thead>
						<tr>
							<th colspan="2">document('../data/Intro')/*</th>
						</tr>
					</thead>
					<xsl:apply-templates select="document('../data/Intro')/*"/>
					<thead>
						<tr>
							<th colspan="2">/* in TransformTests_import.xsl</th>
						</tr>
					</thead>
					<xsl:apply-templates select="*" mode="import"/>
					<thead>
						<tr>
							<th colspan="2">document('../data/Intro')/* in TransformTests_import.xsl</th>
						</tr>
					</thead>
					<xsl:apply-templates select="document('../data/Intro')/*" mode="import"/>
				</table>
			</body>
		</html>
	</xsl:template>
	
	<xsl:template match="*">
		<tbody>
			<tr>
				<td><code>base-uri(.)</code></td>
				<td><xsl:value-of select="base-uri(.)"/></td>
			</tr>
			<tr>
				<td><code>static-base-uri()</code></td>
				<td><xsl:value-of select="static-base-uri()"/></td>
			</tr>
			<tr>
				<td><code>document-uri(/)</code></td>
				<td><xsl:value-of select="document-uri(/)"/></td>
			</tr>
			<tr>
				<td><code>$toRootPath</code></td>
				<td><xsl:value-of select="$toRootPath"/></td>
			</tr>
			<tr>
				<td><code>$toDomainPath</code></td>
				<td><xsl:value-of select="$toDomainPath"/></td>
			</tr>
			<tr>
				<td><code>$toProjPath</code></td>
				<td><xsl:value-of select="$toProjPath"/></td>
			</tr>
			<tr>
				<td><code>$toViewPath</code></td>
				<td><xsl:value-of select="$toViewPath"/></td>
			</tr>
			<tr>
				<td><code>$projRootId</code></td>
				<td><xsl:value-of select="$projRootId"/></td>
			</tr>
			<tr>
				<td><code>$viewRootId</code></td>
				<td><xsl:value-of select="$viewRootId"/></td>
			</tr>
			<tr>
				<td><code>$viewObjId</code></td>
				<td><xsl:value-of select="$viewObjId"/></td>
			</tr>
		</tbody>
	</xsl:template>
	
</xsl:stylesheet>
